/* css样式统一化 去除某些元素自带样式 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

li {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #333;
}

/* 版心 */
.w {
	width: 1200px;
	margin: 0 auto;
}

/* 导航 */


nav {
	height: 80px;
	background-color: #ffffff;
}

.navbar {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	width: 20%;
	height: 50px;
	line-height: 50px;
}

.navbar ul {
	width: 70%;
	height: 100%;
}

.navbar ul li {
	list-style: none;
	float: left;
}

.navbar ul li a {
	display: block;
	height: 80px;
	text-decoration: none;
	line-height: 80px;
	padding: 0 10px;
	margin: 0 35px;
	color: #000000;
	text-align: center;
}

.navbar ul li a:hover {
	background-color: #00aaff;
	color: #ffffff;
}

.navbar ul li ol {
	display: none;
	width: 100px;
}

.navbar ul li ol li {
	width: 100px;
	background-color: red !important;
}

.navbar ul li ol li a {
	margin: 0;

}

.navbar ul li a:hover .navbar ul li ol {
	display: block;
}







/* 首页 */


/* 轮播图样式 */
.banner {
	height: 360px;
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #b1b1b1;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-pagination-bullet-active {
	opacity: 1;
	background: #333 !important;
}

.swiper-button-next,
.swiper-button-prev {
	color: #333 !important;
}


/* 首页列表 */
.index-list {
	padding: 10px;
}

.index-list .list-box {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.l-item {
	width: 24%;
	background-color: #fff;
	text-align: center;
	box-shadow: 1px 2px 20px #eeeeee;
	margin-left: 1%;
}

.l-item:hover {
	cursor: pointer;
}

.l-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.l-item h3 {
	font-size: 16px;
	color: #333;
	font-weight: 700;
	margin: 10px 0;
}

.l-item p {
	font-size: 15px;
	color: #333;
	line-height: 33px;
	padding: 0 15px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	text-overflow: ellipsis;
}


.title {
	font-size: 20px;
	color: #333;
	text-align: center;
	margin: 20px auto;
	width: 150px;
	line-height: 42px;
	border: 1px solid rgb(125, 125, 125);
}


.two-list {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.two-list img {
	width: 49%;
	height: 300px;
	background-color: #666;
}

/* 网站底部 */
footer {
	text-align: center;
	font-size: 15px;
	color: #fff;
	background-color: #000000;
	line-height: 50px;
}


.pp-img {
	width: 100%;
	height: 300px;
}

.pp-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pp-list .w {
	margin: 20px auto;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}

.pp-list .l-item {
	margin-bottom: 10px;
}

.pp-list .l-item img {
	height: 240px;
}

.pp-list .l-item h3 {
	line-height: 40px;
}


/* 媒体查询 */


@media screen and (max-width:1600px) {
	.w {
		max-width: 1400px;
	}
}

@media screen and (max-width:1400px) {
	.w {
		max-width: 1200px;
	}
}

@media screen and (max-width:1200px) {
	.w {
		max-width: 1000px;
	}
}

@media screen and (max-width:1000px) {
	.w {
		max-width: 100%;
	}

	.navbar {
		display: block;
	}

	.navbar ul li {
		float: inherit;
	}

	.navbar ul li a {
		display: inline-block;
		color: #fff;
	}

	.navbar {
		width: 100%;
		padding: 0 10px;
	}

	.logo {
		width: 50%;
	}
	
	.logo h1{
		font-size: 18px;
	}

	.navbar ul {
		display: none;
		width: 100%;
		height: auto;
		position: absolute;
		z-index: 99;
		top: 50px;
		left: 0;
		background: #000000d1;
		text-align: center;
	}

	.hbg {
		position: absolute;
		top: 10px;
		right: 10px;
	}

	.line {
		width: 25px;
		height: 2.5px;
		margin-top: 5px;
		background-color: #444;
		transition: all .5s;


	}

	/* 三线变成差号  通过js控制整个样式 \
   线影藏掉一根线  把剩下的两根使用旋转 成交叉的样子
   */
	/* .line:nth-child(2){
   display: none;
   }
   .line:nth-child(1){
   transform: translateY(5px) rotate(45deg);
   }
   .line:nth-child(3){
   transform: translateY(-3px) rotate(-45deg);
   }
   */
  
  
  .banner {
      height: 200px;
  }
.title {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin: 20px auto;
    width: 100px;
    line-height: 30px;
    border: 1px solid rgb(143, 143, 143);
}

.index-list .list-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.l-item {
    width: 48.5%;
    background-color: #fff;
    text-align: center;
    box-shadow: 1px 2px 20px #eeeeee;
    margin-left: 0;
    margin-bottom: 10px;
}
.two-list img {
    width: 100%;
    height: 200px;
    background-color: #666;
	margin-bottom: 10px;
}
.two-list {
    flex-wrap: wrap;
}
.l-item p {
    font-size: 15px;
    color: #333;
    line-height: 24px;
    padding: 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}
}